import service from '@/utils/request'

// @Tags FirstOrderProcessingTest
// @Summary 创建首办单-测试标准
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FirstOrderProcessingTest true "创建首办单-测试标准"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /firstOrderProcessingTest/createFirstOrderProcessingTest [post]
export const createFirstOrderProcessingTest = (data) => {
  return service({
    url: '/firstOrderProcessingTest/createFirstOrderProcessingTest',
    method: 'post',
    data
  })
}

// @Tags FirstOrderProcessingTest
// @Summary 删除首办单-测试标准
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FirstOrderProcessingTest true "删除首办单-测试标准"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /firstOrderProcessingTest/deleteFirstOrderProcessingTest [delete]
export const deleteFirstOrderProcessingTest = (params) => {
  return service({
    url: '/firstOrderProcessingTest/deleteFirstOrderProcessingTest',
    method: 'delete',
    params
  })
}

// @Tags FirstOrderProcessingTest
// @Summary 批量删除首办单-测试标准
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除首办单-测试标准"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /firstOrderProcessingTest/deleteFirstOrderProcessingTest [delete]
export const deleteFirstOrderProcessingTestByIds = (params) => {
  return service({
    url: '/firstOrderProcessingTest/deleteFirstOrderProcessingTestByIds',
    method: 'delete',
    params
  })
}

// @Tags FirstOrderProcessingTest
// @Summary 更新首办单-测试标准
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.FirstOrderProcessingTest true "更新首办单-测试标准"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /firstOrderProcessingTest/updateFirstOrderProcessingTest [put]
export const updateFirstOrderProcessingTest = (data) => {
  return service({
    url: '/firstOrderProcessingTest/updateFirstOrderProcessingTest',
    method: 'put',
    data
  })
}

// @Tags FirstOrderProcessingTest
// @Summary 用id查询首办单-测试标准
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.FirstOrderProcessingTest true "用id查询首办单-测试标准"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /firstOrderProcessingTest/findFirstOrderProcessingTest [get]
export const findFirstOrderProcessingTest = (params) => {
  return service({
    url: '/firstOrderProcessingTest/findFirstOrderProcessingTest',
    method: 'get',
    params
  })
}

// @Tags FirstOrderProcessingTest
// @Summary 分页获取首办单-测试标准列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取首办单-测试标准列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /firstOrderProcessingTest/getFirstOrderProcessingTestList [get]
export const getFirstOrderProcessingTestList = (params) => {
  return service({
    url: '/firstOrderProcessingTest/getFirstOrderProcessingTestList',
    method: 'get',
    params
  })
}
